package cn.asiainfo.apportion.po;

import java.util.ArrayList;
import java.util.List;

public class LogicStatementExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public LogicStatementExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andConditionIdIsNull() {
            addCriterion("CONDITION_ID is null");
            return (Criteria) this;
        }

        public Criteria andConditionIdIsNotNull() {
            addCriterion("CONDITION_ID is not null");
            return (Criteria) this;
        }

        public Criteria andConditionIdEqualTo(Integer value) {
            addCriterion("CONDITION_ID =", value, "conditionId");
            return (Criteria) this;
        }

        public Criteria andConditionIdNotEqualTo(Integer value) {
            addCriterion("CONDITION_ID <>", value, "conditionId");
            return (Criteria) this;
        }

        public Criteria andConditionIdGreaterThan(Integer value) {
            addCriterion("CONDITION_ID >", value, "conditionId");
            return (Criteria) this;
        }

        public Criteria andConditionIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("CONDITION_ID >=", value, "conditionId");
            return (Criteria) this;
        }

        public Criteria andConditionIdLessThan(Integer value) {
            addCriterion("CONDITION_ID <", value, "conditionId");
            return (Criteria) this;
        }

        public Criteria andConditionIdLessThanOrEqualTo(Integer value) {
            addCriterion("CONDITION_ID <=", value, "conditionId");
            return (Criteria) this;
        }

        public Criteria andConditionIdIn(List<Integer> values) {
            addCriterion("CONDITION_ID in", values, "conditionId");
            return (Criteria) this;
        }

        public Criteria andConditionIdNotIn(List<Integer> values) {
            addCriterion("CONDITION_ID not in", values, "conditionId");
            return (Criteria) this;
        }

        public Criteria andConditionIdBetween(Integer value1, Integer value2) {
            addCriterion("CONDITION_ID between", value1, value2, "conditionId");
            return (Criteria) this;
        }

        public Criteria andConditionIdNotBetween(Integer value1, Integer value2) {
            addCriterion("CONDITION_ID not between", value1, value2, "conditionId");
            return (Criteria) this;
        }

        public Criteria andStatementSeqIsNull() {
            addCriterion("STATEMENT_SEQ is null");
            return (Criteria) this;
        }

        public Criteria andStatementSeqIsNotNull() {
            addCriterion("STATEMENT_SEQ is not null");
            return (Criteria) this;
        }

        public Criteria andStatementSeqEqualTo(Integer value) {
            addCriterion("STATEMENT_SEQ =", value, "statementSeq");
            return (Criteria) this;
        }

        public Criteria andStatementSeqNotEqualTo(Integer value) {
            addCriterion("STATEMENT_SEQ <>", value, "statementSeq");
            return (Criteria) this;
        }

        public Criteria andStatementSeqGreaterThan(Integer value) {
            addCriterion("STATEMENT_SEQ >", value, "statementSeq");
            return (Criteria) this;
        }

        public Criteria andStatementSeqGreaterThanOrEqualTo(Integer value) {
            addCriterion("STATEMENT_SEQ >=", value, "statementSeq");
            return (Criteria) this;
        }

        public Criteria andStatementSeqLessThan(Integer value) {
            addCriterion("STATEMENT_SEQ <", value, "statementSeq");
            return (Criteria) this;
        }

        public Criteria andStatementSeqLessThanOrEqualTo(Integer value) {
            addCriterion("STATEMENT_SEQ <=", value, "statementSeq");
            return (Criteria) this;
        }

        public Criteria andStatementSeqIn(List<Integer> values) {
            addCriterion("STATEMENT_SEQ in", values, "statementSeq");
            return (Criteria) this;
        }

        public Criteria andStatementSeqNotIn(List<Integer> values) {
            addCriterion("STATEMENT_SEQ not in", values, "statementSeq");
            return (Criteria) this;
        }

        public Criteria andStatementSeqBetween(Integer value1, Integer value2) {
            addCriterion("STATEMENT_SEQ between", value1, value2, "statementSeq");
            return (Criteria) this;
        }

        public Criteria andStatementSeqNotBetween(Integer value1, Integer value2) {
            addCriterion("STATEMENT_SEQ not between", value1, value2, "statementSeq");
            return (Criteria) this;
        }

        public Criteria andParamFunctionIsNull() {
            addCriterion("PARAM_FUNCTION is null");
            return (Criteria) this;
        }

        public Criteria andParamFunctionIsNotNull() {
            addCriterion("PARAM_FUNCTION is not null");
            return (Criteria) this;
        }

        public Criteria andParamFunctionEqualTo(Short value) {
            addCriterion("PARAM_FUNCTION =", value, "paramFunction");
            return (Criteria) this;
        }

        public Criteria andParamFunctionNotEqualTo(Short value) {
            addCriterion("PARAM_FUNCTION <>", value, "paramFunction");
            return (Criteria) this;
        }

        public Criteria andParamFunctionGreaterThan(Short value) {
            addCriterion("PARAM_FUNCTION >", value, "paramFunction");
            return (Criteria) this;
        }

        public Criteria andParamFunctionGreaterThanOrEqualTo(Short value) {
            addCriterion("PARAM_FUNCTION >=", value, "paramFunction");
            return (Criteria) this;
        }

        public Criteria andParamFunctionLessThan(Short value) {
            addCriterion("PARAM_FUNCTION <", value, "paramFunction");
            return (Criteria) this;
        }

        public Criteria andParamFunctionLessThanOrEqualTo(Short value) {
            addCriterion("PARAM_FUNCTION <=", value, "paramFunction");
            return (Criteria) this;
        }

        public Criteria andParamFunctionIn(List<Short> values) {
            addCriterion("PARAM_FUNCTION in", values, "paramFunction");
            return (Criteria) this;
        }

        public Criteria andParamFunctionNotIn(List<Short> values) {
            addCriterion("PARAM_FUNCTION not in", values, "paramFunction");
            return (Criteria) this;
        }

        public Criteria andParamFunctionBetween(Short value1, Short value2) {
            addCriterion("PARAM_FUNCTION between", value1, value2, "paramFunction");
            return (Criteria) this;
        }

        public Criteria andParamFunctionNotBetween(Short value1, Short value2) {
            addCriterion("PARAM_FUNCTION not between", value1, value2, "paramFunction");
            return (Criteria) this;
        }

        public Criteria andParam1IdIsNull() {
            addCriterion("PARAM1_ID is null");
            return (Criteria) this;
        }

        public Criteria andParam1IdIsNotNull() {
            addCriterion("PARAM1_ID is not null");
            return (Criteria) this;
        }

        public Criteria andParam1IdEqualTo(String value) {
            addCriterion("PARAM1_ID =", value, "param1Id");
            return (Criteria) this;
        }

        public Criteria andParam1IdNotEqualTo(String value) {
            addCriterion("PARAM1_ID <>", value, "param1Id");
            return (Criteria) this;
        }

        public Criteria andParam1IdGreaterThan(String value) {
            addCriterion("PARAM1_ID >", value, "param1Id");
            return (Criteria) this;
        }

        public Criteria andParam1IdGreaterThanOrEqualTo(String value) {
            addCriterion("PARAM1_ID >=", value, "param1Id");
            return (Criteria) this;
        }

        public Criteria andParam1IdLessThan(String value) {
            addCriterion("PARAM1_ID <", value, "param1Id");
            return (Criteria) this;
        }

        public Criteria andParam1IdLessThanOrEqualTo(String value) {
            addCriterion("PARAM1_ID <=", value, "param1Id");
            return (Criteria) this;
        }

        public Criteria andParam1IdLike(String value) {
            addCriterion("PARAM1_ID like", value, "param1Id");
            return (Criteria) this;
        }

        public Criteria andParam1IdNotLike(String value) {
            addCriterion("PARAM1_ID not like", value, "param1Id");
            return (Criteria) this;
        }

        public Criteria andParam1IdIn(List<String> values) {
            addCriterion("PARAM1_ID in", values, "param1Id");
            return (Criteria) this;
        }

        public Criteria andParam1IdNotIn(List<String> values) {
            addCriterion("PARAM1_ID not in", values, "param1Id");
            return (Criteria) this;
        }

        public Criteria andParam1IdBetween(String value1, String value2) {
            addCriterion("PARAM1_ID between", value1, value2, "param1Id");
            return (Criteria) this;
        }

        public Criteria andParam1IdNotBetween(String value1, String value2) {
            addCriterion("PARAM1_ID not between", value1, value2, "param1Id");
            return (Criteria) this;
        }

        public Criteria andLeftParam1IsNull() {
            addCriterion("LEFT_PARAM1 is null");
            return (Criteria) this;
        }

        public Criteria andLeftParam1IsNotNull() {
            addCriterion("LEFT_PARAM1 is not null");
            return (Criteria) this;
        }

        public Criteria andLeftParam1EqualTo(String value) {
            addCriterion("LEFT_PARAM1 =", value, "leftParam1");
            return (Criteria) this;
        }

        public Criteria andLeftParam1NotEqualTo(String value) {
            addCriterion("LEFT_PARAM1 <>", value, "leftParam1");
            return (Criteria) this;
        }

        public Criteria andLeftParam1GreaterThan(String value) {
            addCriterion("LEFT_PARAM1 >", value, "leftParam1");
            return (Criteria) this;
        }

        public Criteria andLeftParam1GreaterThanOrEqualTo(String value) {
            addCriterion("LEFT_PARAM1 >=", value, "leftParam1");
            return (Criteria) this;
        }

        public Criteria andLeftParam1LessThan(String value) {
            addCriterion("LEFT_PARAM1 <", value, "leftParam1");
            return (Criteria) this;
        }

        public Criteria andLeftParam1LessThanOrEqualTo(String value) {
            addCriterion("LEFT_PARAM1 <=", value, "leftParam1");
            return (Criteria) this;
        }

        public Criteria andLeftParam1Like(String value) {
            addCriterion("LEFT_PARAM1 like", value, "leftParam1");
            return (Criteria) this;
        }

        public Criteria andLeftParam1NotLike(String value) {
            addCriterion("LEFT_PARAM1 not like", value, "leftParam1");
            return (Criteria) this;
        }

        public Criteria andLeftParam1In(List<String> values) {
            addCriterion("LEFT_PARAM1 in", values, "leftParam1");
            return (Criteria) this;
        }

        public Criteria andLeftParam1NotIn(List<String> values) {
            addCriterion("LEFT_PARAM1 not in", values, "leftParam1");
            return (Criteria) this;
        }

        public Criteria andLeftParam1Between(String value1, String value2) {
            addCriterion("LEFT_PARAM1 between", value1, value2, "leftParam1");
            return (Criteria) this;
        }

        public Criteria andLeftParam1NotBetween(String value1, String value2) {
            addCriterion("LEFT_PARAM1 not between", value1, value2, "leftParam1");
            return (Criteria) this;
        }

        public Criteria andParam2IdIsNull() {
            addCriterion("PARAM2_ID is null");
            return (Criteria) this;
        }

        public Criteria andParam2IdIsNotNull() {
            addCriterion("PARAM2_ID is not null");
            return (Criteria) this;
        }

        public Criteria andParam2IdEqualTo(String value) {
            addCriterion("PARAM2_ID =", value, "param2Id");
            return (Criteria) this;
        }

        public Criteria andParam2IdNotEqualTo(String value) {
            addCriterion("PARAM2_ID <>", value, "param2Id");
            return (Criteria) this;
        }

        public Criteria andParam2IdGreaterThan(String value) {
            addCriterion("PARAM2_ID >", value, "param2Id");
            return (Criteria) this;
        }

        public Criteria andParam2IdGreaterThanOrEqualTo(String value) {
            addCriterion("PARAM2_ID >=", value, "param2Id");
            return (Criteria) this;
        }

        public Criteria andParam2IdLessThan(String value) {
            addCriterion("PARAM2_ID <", value, "param2Id");
            return (Criteria) this;
        }

        public Criteria andParam2IdLessThanOrEqualTo(String value) {
            addCriterion("PARAM2_ID <=", value, "param2Id");
            return (Criteria) this;
        }

        public Criteria andParam2IdLike(String value) {
            addCriterion("PARAM2_ID like", value, "param2Id");
            return (Criteria) this;
        }

        public Criteria andParam2IdNotLike(String value) {
            addCriterion("PARAM2_ID not like", value, "param2Id");
            return (Criteria) this;
        }

        public Criteria andParam2IdIn(List<String> values) {
            addCriterion("PARAM2_ID in", values, "param2Id");
            return (Criteria) this;
        }

        public Criteria andParam2IdNotIn(List<String> values) {
            addCriterion("PARAM2_ID not in", values, "param2Id");
            return (Criteria) this;
        }

        public Criteria andParam2IdBetween(String value1, String value2) {
            addCriterion("PARAM2_ID between", value1, value2, "param2Id");
            return (Criteria) this;
        }

        public Criteria andParam2IdNotBetween(String value1, String value2) {
            addCriterion("PARAM2_ID not between", value1, value2, "param2Id");
            return (Criteria) this;
        }

        public Criteria andLeftParam2IsNull() {
            addCriterion("LEFT_PARAM2 is null");
            return (Criteria) this;
        }

        public Criteria andLeftParam2IsNotNull() {
            addCriterion("LEFT_PARAM2 is not null");
            return (Criteria) this;
        }

        public Criteria andLeftParam2EqualTo(String value) {
            addCriterion("LEFT_PARAM2 =", value, "leftParam2");
            return (Criteria) this;
        }

        public Criteria andLeftParam2NotEqualTo(String value) {
            addCriterion("LEFT_PARAM2 <>", value, "leftParam2");
            return (Criteria) this;
        }

        public Criteria andLeftParam2GreaterThan(String value) {
            addCriterion("LEFT_PARAM2 >", value, "leftParam2");
            return (Criteria) this;
        }

        public Criteria andLeftParam2GreaterThanOrEqualTo(String value) {
            addCriterion("LEFT_PARAM2 >=", value, "leftParam2");
            return (Criteria) this;
        }

        public Criteria andLeftParam2LessThan(String value) {
            addCriterion("LEFT_PARAM2 <", value, "leftParam2");
            return (Criteria) this;
        }

        public Criteria andLeftParam2LessThanOrEqualTo(String value) {
            addCriterion("LEFT_PARAM2 <=", value, "leftParam2");
            return (Criteria) this;
        }

        public Criteria andLeftParam2Like(String value) {
            addCriterion("LEFT_PARAM2 like", value, "leftParam2");
            return (Criteria) this;
        }

        public Criteria andLeftParam2NotLike(String value) {
            addCriterion("LEFT_PARAM2 not like", value, "leftParam2");
            return (Criteria) this;
        }

        public Criteria andLeftParam2In(List<String> values) {
            addCriterion("LEFT_PARAM2 in", values, "leftParam2");
            return (Criteria) this;
        }

        public Criteria andLeftParam2NotIn(List<String> values) {
            addCriterion("LEFT_PARAM2 not in", values, "leftParam2");
            return (Criteria) this;
        }

        public Criteria andLeftParam2Between(String value1, String value2) {
            addCriterion("LEFT_PARAM2 between", value1, value2, "leftParam2");
            return (Criteria) this;
        }

        public Criteria andLeftParam2NotBetween(String value1, String value2) {
            addCriterion("LEFT_PARAM2 not between", value1, value2, "leftParam2");
            return (Criteria) this;
        }

        public Criteria andParam3IdIsNull() {
            addCriterion("PARAM3_ID is null");
            return (Criteria) this;
        }

        public Criteria andParam3IdIsNotNull() {
            addCriterion("PARAM3_ID is not null");
            return (Criteria) this;
        }

        public Criteria andParam3IdEqualTo(String value) {
            addCriterion("PARAM3_ID =", value, "param3Id");
            return (Criteria) this;
        }

        public Criteria andParam3IdNotEqualTo(String value) {
            addCriterion("PARAM3_ID <>", value, "param3Id");
            return (Criteria) this;
        }

        public Criteria andParam3IdGreaterThan(String value) {
            addCriterion("PARAM3_ID >", value, "param3Id");
            return (Criteria) this;
        }

        public Criteria andParam3IdGreaterThanOrEqualTo(String value) {
            addCriterion("PARAM3_ID >=", value, "param3Id");
            return (Criteria) this;
        }

        public Criteria andParam3IdLessThan(String value) {
            addCriterion("PARAM3_ID <", value, "param3Id");
            return (Criteria) this;
        }

        public Criteria andParam3IdLessThanOrEqualTo(String value) {
            addCriterion("PARAM3_ID <=", value, "param3Id");
            return (Criteria) this;
        }

        public Criteria andParam3IdLike(String value) {
            addCriterion("PARAM3_ID like", value, "param3Id");
            return (Criteria) this;
        }

        public Criteria andParam3IdNotLike(String value) {
            addCriterion("PARAM3_ID not like", value, "param3Id");
            return (Criteria) this;
        }

        public Criteria andParam3IdIn(List<String> values) {
            addCriterion("PARAM3_ID in", values, "param3Id");
            return (Criteria) this;
        }

        public Criteria andParam3IdNotIn(List<String> values) {
            addCriterion("PARAM3_ID not in", values, "param3Id");
            return (Criteria) this;
        }

        public Criteria andParam3IdBetween(String value1, String value2) {
            addCriterion("PARAM3_ID between", value1, value2, "param3Id");
            return (Criteria) this;
        }

        public Criteria andParam3IdNotBetween(String value1, String value2) {
            addCriterion("PARAM3_ID not between", value1, value2, "param3Id");
            return (Criteria) this;
        }

        public Criteria andLeftParam3IsNull() {
            addCriterion("LEFT_PARAM3 is null");
            return (Criteria) this;
        }

        public Criteria andLeftParam3IsNotNull() {
            addCriterion("LEFT_PARAM3 is not null");
            return (Criteria) this;
        }

        public Criteria andLeftParam3EqualTo(String value) {
            addCriterion("LEFT_PARAM3 =", value, "leftParam3");
            return (Criteria) this;
        }

        public Criteria andLeftParam3NotEqualTo(String value) {
            addCriterion("LEFT_PARAM3 <>", value, "leftParam3");
            return (Criteria) this;
        }

        public Criteria andLeftParam3GreaterThan(String value) {
            addCriterion("LEFT_PARAM3 >", value, "leftParam3");
            return (Criteria) this;
        }

        public Criteria andLeftParam3GreaterThanOrEqualTo(String value) {
            addCriterion("LEFT_PARAM3 >=", value, "leftParam3");
            return (Criteria) this;
        }

        public Criteria andLeftParam3LessThan(String value) {
            addCriterion("LEFT_PARAM3 <", value, "leftParam3");
            return (Criteria) this;
        }

        public Criteria andLeftParam3LessThanOrEqualTo(String value) {
            addCriterion("LEFT_PARAM3 <=", value, "leftParam3");
            return (Criteria) this;
        }

        public Criteria andLeftParam3Like(String value) {
            addCriterion("LEFT_PARAM3 like", value, "leftParam3");
            return (Criteria) this;
        }

        public Criteria andLeftParam3NotLike(String value) {
            addCriterion("LEFT_PARAM3 not like", value, "leftParam3");
            return (Criteria) this;
        }

        public Criteria andLeftParam3In(List<String> values) {
            addCriterion("LEFT_PARAM3 in", values, "leftParam3");
            return (Criteria) this;
        }

        public Criteria andLeftParam3NotIn(List<String> values) {
            addCriterion("LEFT_PARAM3 not in", values, "leftParam3");
            return (Criteria) this;
        }

        public Criteria andLeftParam3Between(String value1, String value2) {
            addCriterion("LEFT_PARAM3 between", value1, value2, "leftParam3");
            return (Criteria) this;
        }

        public Criteria andLeftParam3NotBetween(String value1, String value2) {
            addCriterion("LEFT_PARAM3 not between", value1, value2, "leftParam3");
            return (Criteria) this;
        }

        public Criteria andOperatorIsNull() {
            addCriterion("OPERATOR is null");
            return (Criteria) this;
        }

        public Criteria andOperatorIsNotNull() {
            addCriterion("OPERATOR is not null");
            return (Criteria) this;
        }

        public Criteria andOperatorEqualTo(Short value) {
            addCriterion("OPERATOR =", value, "operator");
            return (Criteria) this;
        }

        public Criteria andOperatorNotEqualTo(Short value) {
            addCriterion("OPERATOR <>", value, "operator");
            return (Criteria) this;
        }

        public Criteria andOperatorGreaterThan(Short value) {
            addCriterion("OPERATOR >", value, "operator");
            return (Criteria) this;
        }

        public Criteria andOperatorGreaterThanOrEqualTo(Short value) {
            addCriterion("OPERATOR >=", value, "operator");
            return (Criteria) this;
        }

        public Criteria andOperatorLessThan(Short value) {
            addCriterion("OPERATOR <", value, "operator");
            return (Criteria) this;
        }

        public Criteria andOperatorLessThanOrEqualTo(Short value) {
            addCriterion("OPERATOR <=", value, "operator");
            return (Criteria) this;
        }

        public Criteria andOperatorIn(List<Short> values) {
            addCriterion("OPERATOR in", values, "operator");
            return (Criteria) this;
        }

        public Criteria andOperatorNotIn(List<Short> values) {
            addCriterion("OPERATOR not in", values, "operator");
            return (Criteria) this;
        }

        public Criteria andOperatorBetween(Short value1, Short value2) {
            addCriterion("OPERATOR between", value1, value2, "operator");
            return (Criteria) this;
        }

        public Criteria andOperatorNotBetween(Short value1, Short value2) {
            addCriterion("OPERATOR not between", value1, value2, "operator");
            return (Criteria) this;
        }

        public Criteria andConditionValIdIsNull() {
            addCriterion("CONDITION_VAL_ID is null");
            return (Criteria) this;
        }

        public Criteria andConditionValIdIsNotNull() {
            addCriterion("CONDITION_VAL_ID is not null");
            return (Criteria) this;
        }

        public Criteria andConditionValIdEqualTo(String value) {
            addCriterion("CONDITION_VAL_ID =", value, "conditionValId");
            return (Criteria) this;
        }

        public Criteria andConditionValIdNotEqualTo(String value) {
            addCriterion("CONDITION_VAL_ID <>", value, "conditionValId");
            return (Criteria) this;
        }

        public Criteria andConditionValIdGreaterThan(String value) {
            addCriterion("CONDITION_VAL_ID >", value, "conditionValId");
            return (Criteria) this;
        }

        public Criteria andConditionValIdGreaterThanOrEqualTo(String value) {
            addCriterion("CONDITION_VAL_ID >=", value, "conditionValId");
            return (Criteria) this;
        }

        public Criteria andConditionValIdLessThan(String value) {
            addCriterion("CONDITION_VAL_ID <", value, "conditionValId");
            return (Criteria) this;
        }

        public Criteria andConditionValIdLessThanOrEqualTo(String value) {
            addCriterion("CONDITION_VAL_ID <=", value, "conditionValId");
            return (Criteria) this;
        }

        public Criteria andConditionValIdLike(String value) {
            addCriterion("CONDITION_VAL_ID like", value, "conditionValId");
            return (Criteria) this;
        }

        public Criteria andConditionValIdNotLike(String value) {
            addCriterion("CONDITION_VAL_ID not like", value, "conditionValId");
            return (Criteria) this;
        }

        public Criteria andConditionValIdIn(List<String> values) {
            addCriterion("CONDITION_VAL_ID in", values, "conditionValId");
            return (Criteria) this;
        }

        public Criteria andConditionValIdNotIn(List<String> values) {
            addCriterion("CONDITION_VAL_ID not in", values, "conditionValId");
            return (Criteria) this;
        }

        public Criteria andConditionValIdBetween(String value1, String value2) {
            addCriterion("CONDITION_VAL_ID between", value1, value2, "conditionValId");
            return (Criteria) this;
        }

        public Criteria andConditionValIdNotBetween(String value1, String value2) {
            addCriterion("CONDITION_VAL_ID not between", value1, value2, "conditionValId");
            return (Criteria) this;
        }

        public Criteria andConditionValueIsNull() {
            addCriterion("CONDITION_VALUE is null");
            return (Criteria) this;
        }

        public Criteria andConditionValueIsNotNull() {
            addCriterion("CONDITION_VALUE is not null");
            return (Criteria) this;
        }

        public Criteria andConditionValueEqualTo(String value) {
            addCriterion("CONDITION_VALUE =", value, "conditionValue");
            return (Criteria) this;
        }

        public Criteria andConditionValueNotEqualTo(String value) {
            addCriterion("CONDITION_VALUE <>", value, "conditionValue");
            return (Criteria) this;
        }

        public Criteria andConditionValueGreaterThan(String value) {
            addCriterion("CONDITION_VALUE >", value, "conditionValue");
            return (Criteria) this;
        }

        public Criteria andConditionValueGreaterThanOrEqualTo(String value) {
            addCriterion("CONDITION_VALUE >=", value, "conditionValue");
            return (Criteria) this;
        }

        public Criteria andConditionValueLessThan(String value) {
            addCriterion("CONDITION_VALUE <", value, "conditionValue");
            return (Criteria) this;
        }

        public Criteria andConditionValueLessThanOrEqualTo(String value) {
            addCriterion("CONDITION_VALUE <=", value, "conditionValue");
            return (Criteria) this;
        }

        public Criteria andConditionValueLike(String value) {
            addCriterion("CONDITION_VALUE like", value, "conditionValue");
            return (Criteria) this;
        }

        public Criteria andConditionValueNotLike(String value) {
            addCriterion("CONDITION_VALUE not like", value, "conditionValue");
            return (Criteria) this;
        }

        public Criteria andConditionValueIn(List<String> values) {
            addCriterion("CONDITION_VALUE in", values, "conditionValue");
            return (Criteria) this;
        }

        public Criteria andConditionValueNotIn(List<String> values) {
            addCriterion("CONDITION_VALUE not in", values, "conditionValue");
            return (Criteria) this;
        }

        public Criteria andConditionValueBetween(String value1, String value2) {
            addCriterion("CONDITION_VALUE between", value1, value2, "conditionValue");
            return (Criteria) this;
        }

        public Criteria andConditionValueNotBetween(String value1, String value2) {
            addCriterion("CONDITION_VALUE not between", value1, value2, "conditionValue");
            return (Criteria) this;
        }

        public Criteria andGroupIdIsNull() {
            addCriterion("GROUP_ID is null");
            return (Criteria) this;
        }

        public Criteria andGroupIdIsNotNull() {
            addCriterion("GROUP_ID is not null");
            return (Criteria) this;
        }

        public Criteria andGroupIdEqualTo(Integer value) {
            addCriterion("GROUP_ID =", value, "groupId");
            return (Criteria) this;
        }

        public Criteria andGroupIdNotEqualTo(Integer value) {
            addCriterion("GROUP_ID <>", value, "groupId");
            return (Criteria) this;
        }

        public Criteria andGroupIdGreaterThan(Integer value) {
            addCriterion("GROUP_ID >", value, "groupId");
            return (Criteria) this;
        }

        public Criteria andGroupIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("GROUP_ID >=", value, "groupId");
            return (Criteria) this;
        }

        public Criteria andGroupIdLessThan(Integer value) {
            addCriterion("GROUP_ID <", value, "groupId");
            return (Criteria) this;
        }

        public Criteria andGroupIdLessThanOrEqualTo(Integer value) {
            addCriterion("GROUP_ID <=", value, "groupId");
            return (Criteria) this;
        }

        public Criteria andGroupIdIn(List<Integer> values) {
            addCriterion("GROUP_ID in", values, "groupId");
            return (Criteria) this;
        }

        public Criteria andGroupIdNotIn(List<Integer> values) {
            addCriterion("GROUP_ID not in", values, "groupId");
            return (Criteria) this;
        }

        public Criteria andGroupIdBetween(Integer value1, Integer value2) {
            addCriterion("GROUP_ID between", value1, value2, "groupId");
            return (Criteria) this;
        }

        public Criteria andGroupIdNotBetween(Integer value1, Integer value2) {
            addCriterion("GROUP_ID not between", value1, value2, "groupId");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}